package com.situ.company.score.dao;

import java.util.List;

import com.situ.company.score.model.ScoreModel;

public interface IScoreDao {

    Integer insert(ScoreModel model);
	
	Integer deleteByCode(ScoreModel model);

	Integer delete(ScoreModel model);

	Integer updateAll(ScoreModel model);
	
	Integer updateActive(ScoreModel model);

	List<ScoreModel> selectList(ScoreModel model);
	
	ScoreModel selectModel(ScoreModel model);
	
	/**
	 * 根据条件查询得到的记录条数
	 * @param model
	 * @return
	 */
	Integer selectCount(ScoreModel model);
}
